package com.jdwa.yzp.service;

import com.jdwa.yzp.entity.User;

import java.util.List;

public interface UserService {
    //查询所有
    public List<User> selectAll();
    //根据id查询用户
    public User selectUserById(Long id);
    //登录
    public User Login(String name,String password);
    //新增或者修改
    public int insertOrUpdate(User user);
    //删除
    public int delete(Long id);
}
